import request from '@/utils/request'

const api_name = '/statistics/coupon'
export default {
  getCouponNameByStartDate(data) {
    return request({
      url: `${api_name}/getCouponNameByStartDate`,
      method: 'get',
      params: data
    })
  },
  getCouponList(data,page,limit) {
    return request({
      url: `${api_name}/getCouponList/${page}/${limit}/`,
      method: 'get',
      params: data
    })
  }
}
